{
   var  i = 2;
  //  console.log(i)
}
console.log(i)

console.log("=======================var test==================")

var a = [];
for (var i = 0; i < 10; i++) {
  a[i] = function () {
    console.log(i)
    console.log(i);
  };
};
a[6]();
a[7]();

for (var i = 0; i < 10; i++) {
   console.log(a[i]());
  };

 var aa = console.log(110);
 //console.log(aa)
a.forEach(function (value,index,array){
 console.log("value")
 console.log(value());
});

var aaa = [1,3,5];

